package com.xmbandu.app.bean;

import com.google.gson.Gson;

/**
 * Created by wmq on 2019/4/25.
 */

public class UpdateBean {
    private String url;
    private int updateMode;
    private String info;
    private String version;
    private int version_code;
    public static UpdateBean objectFromData(String str) {

        return new Gson().fromJson(str, UpdateBean.class);
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getUpdateMode() {
        return updateMode;
    }

    public void setUpdateMode(int updateMode) {
        this.updateMode = updateMode;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public int getVersion_code() {
        return version_code;
    }

    public void setVersion_code(int version_code) {
        this.version_code = version_code;
    }
}
